<?php
include '../controllers/categoriasController.class.php';
include './application/core/config/database.class.php';

$idcat = $_GET['idcategoria'];

$controller = new CategoriasController();
$controller->deletar($idcat);

header('Location: categorias.php');



